#!/usr/bin/expect
set timeout 20

spawn /usr/bin/ssh -qTfnN -D :7070 -g socks5han@kvm.dup2.org
expect {
          "password:" {
           send "han5socks\r"
       }
    }
    interact {
    timeout 20 { send " " }
}
